package com.coding.config.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * coding系统的一些属性
 */
@Component
public class VsProperties {

    public static final String PREFIX = "coding";

    /**
     * 验证码开关
     */
    @Value("${coding.kaptchaswich}")
    private boolean kptchaswich = false;

    public boolean isKptchaswich() {
        return kptchaswich;
    }

    public void setKptchaswich(boolean kptchaswich) {
        this.kptchaswich = kptchaswich;
    }

}
